var config = {
	"metrics":{
		"front": [
			"impressions",
			"new_impressions",
			"old_impressions",
			"visitors",
			"clicks",
			"click_rate",
			"click_reach_rate",
			"old_visitors",
			"new_visitors",
			"new_visitor_rate",
			"old_visitor_rate"
		],
		"back": [
			"back_pageviews",
			"back_sessions",
			"back_visitors",
			"back_clicks",
			"back_click",
			"back_click_rate",
			"back_inputs",
			"back_new_visitors",
			"back_new_pageviews",
			"back_new_visitor_rate",
			"back_old_visitors",
			"back_old_visitor_rate",
			"back_avg_staytime",
			"back_avg_loadtime",
			"back_avg_pagepixels"
		],
		"conversion": [
			"back_regs",
			"back_reg_click_rate",
			"back_reg_rate",
			"back_logins",
			"back_login_click_rate",
			"back_login_rate",
			"reg_per_mile",
			"login_per_mile"
		],
		"cost":[
			"end_cpc",
			"end_cpm",
			"end_cpa",
			"cost",
			"back_reach_cost"
		],
		"bid":[
			"bid_num",
			"win_num",
			"win_rate"
		],
		"overview_bid": [
			"request_num",
			"bid_use_rate",
			"click_rate",
			"bid_num",
			"win_num",
			"win_rate"
		],
		"cost_true":[
			"true_cpm",
			"true_cpc",
			"true_cpa",
			"true_cost"
		],
		"cost_proxy":[
			"proxy_cpm",
			"proxy_cpc",
			"proxy_cpa",
			"proxy_cost"
		],
		"overview_channel": [
			"request_num",
			"bid_num",
			"impressions",
			"win_rate",
			"end_cpa",
			"end_cpm",
			"end_cpc",
			"back_reg_rate",
			"click_rate",
			"true_cost",
			"proxy_cost",
			"cost",
			"clicks"
		],
		"overview_flow": [
			"impressions",
			"click_rate",
			"click_reach_rate",
			"back_regs",
			"back_reg_rate"
		],
        "hidden_metric": [
            "origin_cost",
            "origin_impressions"
        ],
		"sogou_metric": [
			"back_new_logins",
			"back_re_logins",
			"back_re_login_rate",
			"back_pay_users",
			"back_pay_amount",
			"back_new_pay_amount",
			"back_new_pay_users",
			"back_new_pay_rate",
			"back_stay15mins"
		]
	},
	"captions":{
		"impressions": util.LANG("展示量"),
		"new_impressions": util.LANG("新访客展示量"),
		"old_impressions": util.LANG("老访客展示量"),
		"visitors": util.LANG("独立访客量"),
		"clicks": util.LANG("点击量"),
		"click_rate": util.LANG("点击率"),
		"click_reach_rate": util.LANG("点击到达率"),
		"old_visitors": util.LANG("老访客量"),
		"new_visitors": util.LANG("新访客量"),
		"new_visitor_rate": util.LANG("新访客比例"),
		"old_visitor_rate": util.LANG("老访客比例"),
		"back_pageviews": util.LANG("B_展示量"),
		"back_sessions": util.LANG("B_会话数"),
		"back_visitors": util.LANG("B_独立访客量"),
		"back_clicks": util.LANG("B_点击累计数"),
		"back_click": util.LANG("B_点击数"),
		"back_click_rate": util.LANG("B_点击率"),
		"back_inputs": util.LANG("B_输入次数"),
		"back_new_visitors": util.LANG("B_新访客量"),
		"back_new_pageviews": util.LANG("B_新访客展示量"),
		"back_new_visitor_rate": util.LANG("B_新访客比例"),
		"back_old_visitors": util.LANG("B_老访客量"),
		"back_old_visitor_rate": util.LANG("B_老访客比例"),
		"back_avg_staytime": util.LANG("B_平均停留时间(秒)"),
		"back_avg_loadtime": util.LANG("B_平均加载时间"),
		"back_avg_pagepixels": util.LANG("B_平均窗口大小"),
		"back_login_rate": util.LANG("B_登录率"),
		"back_regs": util.LANG("注册量"),
		"back_reg_click_rate": util.LANG("点击注册率"),
		"back_reg_rate": util.LANG("B_注册率"),
		"back_logins": util.LANG("登录量"),
		"back_login_click_rate": util.LANG("点击登录率"),
		"reg_per_mile": util.LANG("千次展现注册率"),
		"login_per_mile": util.LANG("千次展现登录率"),
		"back_reach_cost": util.LANG("到达单价(元)"),
		"request_num": util.LANG("竞价请求数"),
		"bid_num": util.LANG("出价数"),
		"win_num": util.LANG("竞得数"),
		"win_rate": util.LANG("竞得率"),
		"bid_use_rate": util.LANG("使用率"),
        "bid_rate": util.LANG("出价率"),
		//"true_cost": util.LANG("价格1"),
		"true_cost": util.LANG("价格3"),
		"true_cpm": util.LANG("CPM1"),
		"true_cpc": util.LANG("CPC1"),
		"true_cpa": util.LANG("CPA1"),
		"proxy_cost": util.LANG("价格2"),
		"proxy_cpm": util.LANG("CPM2"),
		"proxy_cpc": util.LANG("CPC2"),
		"proxy_cpa": util.LANG("CPA2"),
		//"cost": util.LANG("总消费(元)"),	//价格3
		"cost": util.LANG("总消费(元)"),	//价格 (1)
		"cpm": util.LANG("CPM(元)"),		//cpm3
		"cpc": util.LANG("CPC(元)"),
		"cpa": util.LANG("CPA(元)"),
		"end_cpm": util.LANG("CPM(元)"),		//cpm3
		"end_cpc": util.LANG("CPC(元)"),
		"end_cpa": util.LANG("CPA(元)"),
		"adx_bid_num": util.LANG("Adx出价数"),
		"adx_impressions": util.LANG("Adx展示量"),
		"adx_clicks": util.LANG("Adx点击数"),
		"adx_win_rate": util.LANG("Adx竞得率"),
		"adx_cost": util.LANG("Adx价格"),
		//"adx_true_cost": util.LANG("Adx价格1"),
		//"cost3": util.LANG("价格3"),
		"cost3": util.LANG("价格"), // 价格1
        "origin_cost": util.LANG("价格0"),
        "origin_impressions": util.LANG("溢量0"),
		// sogou 指标
		"back_new_logins": util.LANG("新登用户数"),
		"back_re_logins": util.LANG("次登用户数"),
		"back_re_login_rate": util.LANG("次登率"),
		"back_pay_users": util.LANG("充值用户数"),
		"back_pay_amount": util.LANG("充值金额"),
		"back_new_pay_amount": util.LANG("新登充值金额"),
		"back_new_pay_users": util.LANG("新登充值用户数"),
		"back_new_pay_rate": util.LANG("新登充值率"),
		"back_stay15mins": util.LANG("15分钟留存用户数"),
		//visible
		"visible": util.LANG('可视次数'),
		"visible_unmonitor": util.LANG('未监控到次数'),
		"visible_monitor_r": util.LANG('监控次数_3'),
		"visible_monitor_0": util.LANG('监控次数_2'),
		"visible_monitor_1": util.LANG('监控次数'),
		"visible_rate_r": util.LANG('可视率_3'),
		"visible_rate_0": util.LANG('可视率_2'),
		"visible_rate_1": util.LANG('可视率')
	},
	"maps": new Map([
		["true_cost", "cost_0"]
		,["true_cpc", "cpc_0_s"]
		,["true_cpm", "cpm_0"]
		,["true_cpa", "cpa_0"]
		,["true_back_reach_cost", "b_reach_cost_0"]

		,["proxy_cost", "cost_1"]
		,["proxy_cpm", "cpm_1"]
		,["proxy_cpa", "cpa_1"]
		,["proxy_cpc", "cpc_1_s"]
		,["proxy_back_reach_cost", "b_reach_cost_1"]

		,["cost3", "cost_2"]
		,["cost", "cost_2"]
		,["cpm", "cpm_2"]
		,["cpa", "cpa_2"]
		,["cpc", "cpc_2_s"]
		,["back_reach_cost", "b_reach_cost_2"]

		,["impressions", "impressions_0"]
		,["new_impressions", "new_impressions_0"]
		,["old_impressions", "old_impressions_0"]
		,["login_per_mile", "login_per_mile_0"]
		,["reg_per_mile", "reg_per_mile_0"]
		,["click_rate", "click_rate_0_s"]
		,["win_rate", "win_rate_0"]
		,["bid_use_rate", "bid_use_rate_0"]

		,["clicks", "clicks_0_s"]
		,["click_reach_rate", "click_reach_rate_0_s"]
		,["true_avg_click_cost", "cpc_0"]
		,["proxy_avg_click_cost", "cpc_1"]
		,["avg_click_cost", "cpc_2_s"]
		,["true_avg_reg_cost", "cpa_0"]
		,["proxy_avg_reg_cost", "cpa_1"]
		,["avg_reg_cost", "cpa_2"]
		,["show_cost", "cost_0"]
		,["cotest", "cost_0"]
		,["show_cost_over", "cost_1"]
		,["cotest2", "cost_1"]
		,["show_cost_over2", "cost_2"]
		,["end_cpm", "cpm_2"]
		,["end_cpc", "cpc_2_s"]
		,["end_avg_click_cost", "cpc_2_s"]
		,["end_cpa", "cpa_2"]
		,["end_avg_reg_cost", "cpa_2"]

		,["back_pageviews", "b_pageviews"]
		,["back_sessions", "b_sessions"]
		,["back_visitors", "b_visitors"]
		,["back_clicks", "b_clicks"]
		,["back_click", "b_click"]
		,["back_click_rate", "b_click_rate"]
		,["back_inputs", "b_inputs"]
		,["back_new_visitors", "b_new_visitors"]
		,["back_new_pageviews", "b_new_pageviews"]
		,["back_new_visitor_rate", "b_new_visitor_rate"]
		,["back_old_visitors", "b_old_visitors"]
		,["back_old_visitor_rate", "b_old_visitor_rate"]
		,["back_avg_staytime", "b_avg_staytime"]
		,["back_avg_loadtime", "b_avg_loadtime"]
		,["back_avg_pagepixels", "b_avg_pagepixels"]
		,["back_login_rate", "b_login_rate"]
		,["back_regs", "b_regs"]
		,["back_reg_click_rate", "b_reg_click_rate_0_s"]
		,["back_reg_rate", "b_reg_rate"]
		,["back_logins", "b_logins"]
		,["back_login_click_rate", "b_login_click_rate_0_s"]
		,["end_back_reach_cost", "b_reach_cost_2"]
		,["request_num", "bids"]
		,["bid_num", "offers"]
		,["bid_rate", "offer_rate"]
		,["win_num", "impressions_0"]
		// 渠道汇总
		,['adx_bid_num'				          ,"offers"]
		,['adx_impressions'			          ,"impressions_0"]
		,['adx_clicks'				          ,"clicks_0_s"]
		,['adx_win_rate'			          ,"win_rate_0"]
		,['adx_cost'				          ,"cost_2"]
		//暗后台指标字段
		,['origin_cost'                       ,'cost_r']
		,['origin_impressions'                ,'impressions_r']
		// sogou 指标字段
		,['back_new_logins'                   ,'b_client_new_logins']
		,['back_re_logins'                    ,'b_client_re_logins']
		,['back_re_login_rate'                ,'b_client_re_login_rate']
		,['back_pay_users'                    ,'b_client_pay_users']
		,['back_pay_amount'                   ,'b_client_pay_amount']
		,['back_new_pay_amount'               ,'b_client_new_pay_amount']
		,['back_new_pay_users'                ,'b_client_new_pay_users']
		,['back_new_pay_rate'                 ,'b_client_new_pay_rate']
		,['back_stay15mins'                   ,'b_client_stay15mins']
		// 财务平台
		,['total_cost', 'total_cost']
		,['total_income', 'total_income']
		,['rtb_cost', 'rtb_cost']
		,['rtb_income', 'rtb_income']
		,['pmp_cost', 'pmp_cost']
		,['pmp_income', 'pmp_income']
		,['monitor_cost', 'monitor_cost']
		,['monitor_income', 'monitor_income']
	]),
	"formats":{
		"click_rate": "rate",
		"new_visitor_rate": "rate",
		"old_visitor_rate": "rate",
		"back_login_rate": "rate",
		"back_click_rate": "rate",
		"back_reg_rate": "rate",
		"back_login_click_rate": "rate",
		"back_reg_click_rate": "rate",
		"back_reach_cost": "rate",
		"click_reach_rate": "rate",
		"back_new_visitor_rate": "rate",
		"back_old_visitor_rate": "rate",
		"back_bounce_rate": "rate",
		"win_rate": "rate",
		"bid_use_rate": "rate",
		"back_avg_loadtime": "millitosecond",
		"back_avg_staytime": "second"
	},
	"querys":{
		"campaign":{
			"model":"Campaign",
			"model_key":"_id",
			"id":"campaign_id",
			"keys":["campaign_id"],
			"fields":[
				"Name","Channel","SubChannel","Status","StartTime","EndTime","BudgetExceed",
				"PriceModify","ChargeType","ChargePrice","TopPrice","TotalBudget","Budget",
				"AdType","IsDraft","CampanyId","IsDeleted",
				"Products.Sweetys.Id", "Products.Sweetys.WhiskyIds", "Products.WhiskyCreatives.Id", "WardenStatus", "TargetCpa",
				"Scene","AdCategory","AdSensitive","ReachMax", "MainStrategy",
				'PlanId'
			],
			"dims":[],
			"metrics":["{front}", "{back}", "{conversion}", "{cost}", "{bid}"]
		},
		"sweety":{
			"model":"Sweety",
			"model_key":"_id",
			"id":"package_id",
			"keys":["package_id"],
			"fields":[
				"CreateUserId","Products","Name","ExternalId","Label",
				"CreativeIndex","CreativeIds","Thumb","Status",
				"Description","RejectReason","IsDeleted", "WhiskyUrl",
				"AdvertiserId"
			],
			"dims":[],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"whisky":{
			"model":"Whisky",
			"model_key":"_id",
			"id":"whisky_id",
			"keys":["whisky_id"],
			"fields":["Name","Thumb","Label","Type","Layout","Products","Status"
				,"IsDeleted","Body","OuterLink", "FileId","WhiskyPath"
				,"VerifyCheck","UploadPreview","RejectReason"
				,"AdvertiserId"
			],
			"dims":[],
			"metrics":["{back}","{conversion}"]
		},
		"sweetyCreative":{
			"model":"SweetyCreative",
			"model_key":"_id",
			"id":"creative_id",
			"keys":["creative_id"],
			"fields":[
				"Name", "VerifyResult", "Status", "Duration", "Path", "Width", "Height",
				"FileSize", "FileType", "Type"
			],
			"dims":[],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"spot":{
			"model":"Spot",
			"model_key":"_id",
			"id":"spot_id",
			"keys":["spot_id"],
			"fields":[
				"Name", "Price","ViewType", "Size", "Width", "Height",'AdChannelId',
				"AllowType","Screen","AppCategory", "Request","Screen","Skippable",
				"ShowBeforeSkip", "ShowDuration", "Monitor"
			],
			"dims":[],
			"metrics":["{front}","{back}","{conversion}","{cost}","request_num","bid_use_rate","{bid}"]
		},
        "spotMonitor":{
            "model":"Spot",
            "model_key":"_id",
            "id":"spot_id",
            "keys":["spot_id"],
            "fields":[
                "Name","AdType","Type","ChannelId","MassChannelId","MassChannelName","AllowMaterial","AllowMaterialName",
                "MassMediaId","Price","ShowSubType", "Size", "AdSubChannelId","Width", "Height",
                "ShowType","MediaCategory","Screen","Domain","VideoCategory","AppCategory","ChannelCategory",
                "LocQuality","BidFloor","AdvisePrice","Request","ReviewPicture","PageUrl","ScreenName"
            ],
            "dims":[],
            "metrics":["cost", "request_num", "bid_rate", "bid_use_rate", "win_rate", "end_cpm", "end_cpc"]
        },
        "massMedia": {
			"model":"MassMedia",
			"model_key":"_id",
			"id":"medium_id",
			"keys":["medium_id"],
			"fields":[
				"Name","Description","AdChannelId","AdSubChannelId","Url"
			],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"massChannel": {
			"model":"MassChannel",
			"model_key":"_id",
			"fields":["Name", "Description", "CreateTime"]
		},
        "customerMonitor": {
            "model":"DspUser",
            "model_key": "UserId",
            "id": "user_id",
            "keys":["user_id"],
            "fields": [
                "UserId","UserName","PrimaryId","Type","Depth","ValidDate","Status","DenyInfo","ManualDenyId","CategoryId","IsButt","Aptitudes","AdvertiserCategories","VerifyWhiteList","PositionCategoryIds","Contact","CostRate","CostRateTmp","Sync","IsCredit","Security","CreditIndex","AllowAdCredit","IsSign","IsSignValidate","Contract","Amount","RestAmount","YesterdayCost","UpdateAmountTime","RebateAmount","InvoiceStatus","InvoiceRemark","AllowInvoiceSum","LayoutIds","PlatformIds","ManualDeny","InvoiceAmount","CreateTime","UpdateTime"
            ],
            "metrics":["cost", "request_num", "bid_rate", "bid_use_rate", "win_rate", "end_cpm", "end_cpc"]
        },
		"spotSize":{
			"model":"Spot",
			"model_key":"_id",
			"id":"spot_size_id",
			"keys":["spot_size_id"],
			"fields":[
				"Name","AdType","Type","ChannelId","MassChannelId","MassChannelName",
				"MassMediaId","Price","ShowSubType", "Size",
				"ShowType","MediaCategory","Screen","Domain","VideoCategory","AppCategory","ChannelCategory",
				"LocQuality","BidFloor","AdvisePrice","Request","ReviewPicture","PageUrl"
			],
			"dims":[],
			//"metrics":["bid_num","click_rate"]
			"metrics":['impressions']
		},
		"spotScreen":{
			"model":"Spot",
			//"query_type": "aggregate",
			"model_key":"_id",
			"id":"spot_screen_id",
			"keys":["spot_screen_id"],
			"fields":['ScreenName'],
			"dims":[],
			"metrics":["{front}","{cost}"]
		},
		"spotChannel":{
			"model":"Spot",
			"queryType": "aggregate",
			"model_key":"_id",
			"id":"spot_channel_id",
			"keys":["spot_channel_id"],
			"fields":['ChannelName'],
			"dims":[],
			"metrics":["{front}","{cost}"]
		},
		"spotDomain":{
			"model":"Spot",
			"model_key":"_id",
			"fields":["SiteDomain", "SiteDomainId", "DspRootDomainId"]
		},
		"bill": {
			"model":"Bill",
			"model_key":"_id",
			"fields":[
				"UserId","UserName","Depth","Amount","RestAmount","Type","Source","Memo","RelUserId","CreateTime", "Date", "Currency"
			]
		},
		"invoiceRecord": {
			"model":"InvoiceRecord",
			"model_key":"_id",
			"fields":[
				"CampanyId","CampanyName","Amount","Content","Status","StatusInfo","Info","CreateTime"
			]
		},
		"product": {
			"model":"Product",
			"model_key":"_id",
			"id":"product_id",
			"keys":["product_id"],
			"fields":["CreateUserId", "Name", "Description", "PlatformId", "PlatformName", "IsImport",'Thumb','Label', "IsUserAdd", "Status", "GameId"],
			"dims":[],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"overview_campaign": {
			"model":"Campaign",
			"model_key":"_id",
			"id":"campaign_id",
			"keys":["campaign_id"],
			"fields":[
				"Name","Channel","SubChannel","Status","StartTime","EndTime","BudgetExceed",
				"PriceModify","ChargeType","ChargePrice","TopPrice","TotalBudget","Budget",
				"WhiteBlackList","SetExcludeInfo","AdType","IsDraft","CampanyId","IsDeleted",
				"Products.Sweetys.Id", "Products.Sweetys.WhiskyIds", "Products.WhiskyCreatives.Id", "WardenStatus", "TargetCpa",
				"Scene"
			],
			"dims":[],
			"metrics":[
				"end_cpm","end_cpa","end_cpc","cost","{cost_true}","{cost_proxy}","{overview_bid}","{overview_flow}"
			]
		},
		"messages": {
			"model":"Messages",
			"model_key":"_id",
			"fields":[
				"_id","To","From","Type","Title","Content","IsDeleted","UpdateTime","CreateTime","UpdateUserId","CreateUserId"
			]
		},
		"dspUser": {
			"model": "DspUser",
			"model_key": "UserId",
			"id":"user_id",
			"keys":["user_id"],
			"fields": [
				"UserId","UserName","PrimaryId","Type","Depth","ValidDate","Status","DenyInfo","ManualDenyId","Contact","CostRate","CostRateTmp","Sync","IsCredit","Security","CreditIndex","AllowAdCredit","IsSign","IsSignValidate","Contract","Amount","RestAmount","YesterdayCost","UpdateAmountTime","RebateAmount","InvoiceStatus","InvoiceRemark","AllowInvoiceSum","LayoutIds","PlatformIds","ManualDeny","InvoiceAmount","CreateTime","UpdateTime","Name",
				"CreateUserId", "UpdateUserId", "Industry", "SystemDeny", "RedisRestAmount", "RedisAllowAdCredit"
			],
			"metrics": [
				"end_cpm","end_cpa","end_cpc","cost","{cost_true}","{cost_proxy}","{overview_bid}","{overview_flow}"
			]
		},
		"qualification": {
			"model": "Qualification",
			"model_key": "_id",
			"fields": ["Name","Contact","Phone","Email","Address","UserName","SiteName","SiteUrl","Info","AccountName","IsAgent","_id","AssignIds","CreateUserId","IsDeleted", "IsSlave", "BrandName"]
		},
		"deal": {
			"model": "Deal",
			"model_key": "_id",
			"id":"deal_id",
			"keys":["deal_id"],
			"fields": [
				"Type", "Name", "AdxDealId", "AdxId", "DealInfo"
				,"Statistics", "AllClient", "Clients", "Status"
				,"Spots", "UpdateTime", "CreateUserId", "ManualInfo"
			],
			"dims": [],
			"metrics": [
				"end_cpm","end_cpa","end_cpc","cost","{cost_true}","{cost_proxy}","{overview_bid}","{overview_flow}"
			]
		},
		"frequency":{
			"model": "Default",
			"id":"frequencyslot",
			"keys":["frequencyslot"],
			"fields":[],
			"dims":["frequencyslot_name"],
			"metrics":["{front}","{back}","{cost}"]
		},
		"monitorAlarms": {
			"model": "Alarm",
			"model_key": "_id",
			"fields": [
				"Name","Frequency","Emails","Remarks","DimType",
				"EnableEmail","EnableNotice","Conditions",
				"Status","_id","IsDeleted","UpdateTime",
				"CreateUserId","CreateTime","AdvertiserId","Stop","StopCampaign"
			]
		},
		"plan": {
			"model": "Plan",
			"model_key": "_id",
			"id":"plan_id",
			"keys":["plan_id"],
			"fields": [
				"Name", "StartTime", "EndTime", "Status", "Exceed","DailyLimit", "TotalLimit", "CustomId", "AdvertiserId"
				//,"DailyLimit", "TotalLimit", "CreateUserId"
				,"IsDeleted"
			],
			"dims":[],
			"metrics":["{front}", "{back}", "{conversion}", "{cost}", "{bid}"]
		},
		"adsGroup": {
			"model":"AdsGroup",
			"model_key":"_id",
			"fields":["AdxId", "Name", "Remark", "SyncCampaign", "WhiteBlackType", "Spots","CreateUserId"]
		},
		"blacklist": {
			"model": "Blacklist",
			"model_key": "_id",
			"id":"blacklist_id",
			"keys":["blacklist_id"],
		},
		"monitorNotice": {
			"model":"AlarmMessages",
			"model_key":"_id",
			"fields":["Title", "Data","DimType","CreateTime"]
		},
	},
	"export": {
		"period": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}", "{bid}"]
		},
		"trendFrequency": {
			"fields": [],
			"metrics":["{front}", "{cost}"]
		},
		"frequency": {
			"fields": [],
			"metrics":["{front}","{cost}"]
		},
		"region": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"os": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"browser": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"lang": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"resolution": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"pixel": {
			"fields": [],
			"metrics":["{back}"]
		},
		"channel": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"domain": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"medium": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"group": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}"]
		},
		"campaignTrend": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}","{bid}"]
		},
		"overview": {
			"channel": {
				"fields": [],
				"metrics":["{overview_channel}"]
			},
			"client": {
				"fields": [],
				"metrics":[
					"end_cpm","end_cpa","end_cpc","cost","{cost_true}","{cost_proxy}","{overview_bid}","{overview_flow}"
				]
			}
		},
		"overview_clientTrend": {
			"fields": [],
			"metrics":[
				"end_cpm","end_cpa","end_cpc","cost","{cost_true}","{cost_proxy}","{overview_bid}","{overview_flow}"
			]
		},
		"spotSize": {
			"fields": [],
			"metrics":["{front}","{back}","{conversion}","{cost}","{bid}", 'request_num']
		},
		"deal": {
			"fields": [],
			"metrics": [
				"end_cpm","end_cpa","end_cpc","cost","{cost_true}","{cost_proxy}","{overview_bid}","{overview_flow}"
			]
		},
		"channelCategory": {
			"fields": [],
			"metrics": ["{front}", "{back}", "{conversion}", "{cost}"]
		}
	},
	"server":  util.config(process.env.SERVER_CONFIG, 'DATACENTER_SERVER')
};
